package com.yonyong.tao.commons.constant;

import java.io.File;

/**
 * @Describtion 避免魔法值
 * @Author yonyong
 * @Date 2019/10/11 12:06
 * @Version 1.0.0
 **/
public final class GlobalVar {
    //禁止实例化
    private GlobalVar(){}

    /**
     * 浙江省公安厅部门编号
     */
    public final static String ZJSGAT_DEPART_CODE = "330000000000";
    /**
     * 浙江省公安厅部门名称
     */
    public final static String ZJSGAT_DEPART_NAME = "浙江省公安厅";
    /**
     * 省直属
     */
    public final static String SHEN_ZHI_SHU = "省直属";
    /**
     * session中管理员
     */
    public final static String ADMIN = "admin";
    /**
     * 火狐浏览器
     */
    public final static String FIRE_FOX = "firefox";
    //
    public final static String ADD = "add";
    public final static String UPDATE = "update";
    public final static String DELETE = "delete";
    public final static String MALE = "男";
    public final static String FEMALE = "女";

    //文件映射mapping
    public static final String FILE_MAPPING_PATH = "document";
    //上传文件存储路径
    public static final String UPLOAD_BASE_PATH = System.getProperty("user.home")+ File.separator + "Polarisdoc"+File.separator;
    //    public static final String CATEGORY_IMG_PATH = File.separator +"upload" + File.separator + "category";
    //管理员上传分类图片 存储路径
    public static final String CATEGORY_IMG_PATH = "upload" + File.separator + "category";
    //管理员上传轮播图图片 存储路径
    public static final String CAROUSE_IMG_PATH = "upload" + File.separator + "carouse";
}
